<%--
    Document   : login
    Created on : 09/12/2009, 22:27:09
    Author     : Jhielson
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>3G Notifier</title>
    </head>
    <body>
         <f:view>
             <h:form>
                <h1>Entrar</h1>
                <br>
                <table>
                    <tr>
                        <td>Login:</td>
                        <td><h:inputText value="#{user.login}"/></td>
                    </tr>
                    <tr>
                        <td>senha:</td>
                        <td><h:inputSecret redisplay="false"  value="#{user.senha}"/></td>
                    </tr>
                 
                </table>

                <br>
                O nome de usuário e senha digitados são incorretos.
                
                <p>
                <h:commandButton value="Entrar" action="#{user.validar}"/>
                </p>

            </h:form>
         </f:view>
    </body>
</html>
